﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace Glorysoft.EAP.EAPClient.Model
{
    [Serializable]
    [XmlRoot("Body")]
    public class BarcodeModel
    {
        [XmlElement("USERNAME")]
        public string USERNAME { get; set; }
        [XmlElement("PASSWORD")]
        public string PASSWORD { get; set; }
        [XmlElement("EQPID")]
        public string EQPID { get; set; }
        [XmlElement("PORTID")]
        public string PORTID { get; set; }
        [XmlElement("LOTID")]
        public string LOTID { get; set; }
        [XmlElement("CARRIERID")]
        public string CARRIERID { get; set; }
        [XmlElement("CARRIERIDLIST")]
        public List<string> CARRIERIDLIST { get; set; }

        public string MaterialID { get; set; }
    }
    [Serializable]
    [XmlRoot("Body")]
    public class ConnectModel
    {
        [XmlElement("IP")]
        public string IP { get; set; }
        [XmlElement("EQPID")]
        public string EQPID { get; set; }
        [XmlElement("EQPSTATUS")]
        public bool EQPSTATUS { get; set; }
    }
}
